home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
eztext35.zip
/
EZTEXT35.MAN
< prev
next >
Wrap
Text File
|
1991-09-12
|
42KB
|
1,143 lines
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█ RO-SOFT SYSTEMS (C)1991 █
█╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨█
█ EZTEXT Ver 3.5 BY ROBERT OSSOWSKI █
█╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥█
███████████████████████████████████████
▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄▄▄
███▀▀▀▀ ▀▀▀▀▀██ ▀▀▀███▀▀▀ ███▀▀▀▀ ▀██▄ ▄██▀ ▀▀▀███▀▀▀
███▄▄ ▄█▀ ███ ███ ███▄▄ ▀██▄██▀ ███
███▀▀ ▄█▀ ███ ███▀▀ ▄███▄ ███
███▄▄▄▄ ██▄▄▄▄▄ ███ ███▄▄▄▄ ▄██▀ ▀██▄ ███
▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀ ▀▀ ▀▀▀
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█ RO-SOFT SYSTEMS (C)1991 █
█╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨╨█
█ EZTEXT Ver 3.5 BY ROBERT OSSOWSKI █
█╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥╥█
███████████████████████████████████████
Table of Contents : Page
General Description ............................ 1
Brief Description of Function Key Assignment ... 2
The File Select Screen Description ............. 3
The Menu System Description .................... 4
Detailed Function Key Assignments .............. 8
Cursor and Edit Control Keys ................... 13
Text Find and Replace Alt-Q Functions .......... 14
Text Block Control Functions Alt-K ............. 15
Color Text Files ............................... 16
Ansi Display Routine ANSI.EXE .................. 17
Color Text Display Routine COLRTEXT.EXE ........ 17
Line and Character Draw Modes .................. 18
Should Something Go Wrong ...................... 19
Page 1
EZTEXT (C) 1991 BY ROBERT OSSOWSKI
EDIT.EXE PROGRAMMERS EDITOR
This program EDIT.EXE, requires 148k Bytes of free memory to run.
It allows editing any size text file, using all the standard editing
functions, including search and block controls, as long as you have
disk space available for the necessary temporary files. The text may
be MONO text (Normal), or COLOR text (Special text files that retain
the color attribute of all characters).
This text file contains many extended 'DOS' characters, and eight
character tabs, so your printer must be able to print these to print
everything properly.
■ Enter the command EDIT at the DOS command prompt, or select
the EDIT function from the shell. The file pathname to be edited,
may be entered with the command, or the program will take you di-
rectly to the file select screen with the current directory listed
for filename selection.
■ When you are through editing just press the Esc key. The main menu
appears. Select (Q)uit or press the Q key. The program prompts to
save edit changes if any were made, else it displays a Y/N ? EXIT
prompt. Entering "Y" takes you back to DOS, or your DOS shell, and
an "N" takes you back to the file select screen.
■ Upon edit save, previous backup file is deleted, edited file is
saved, and all temporary files are cleared. The original file now
has a file extent of .BAK.
This Version 3.5 : ■ Fix Misc. Problems Incurred By New Functions.
New functions Version 3.3 : ■ Max Edit File Size From 4M to Unlimited.
■ Mono Text Max Chars Per Edit Line Now 80/160.
■ Corrections Installed For CGA Monitors.
■ Left Display Margin Set, by F5 and Auto.
■ List Files From Directory Window.
■ Much Improved Search and Replace Function.
■ Improved Color Text Edit Display.
■ Add Alt-K A Function. Append Block to File
New functions Version 3.2 : ■ Execute Programs From Within Editor.
■ Center Text On Cursor Line.
■ Left Align Next Line To Cursor Position.
■ Display Color Text Files Routine.
■ Auto Indent Sets To Current Tab Position.
■ Mouse & Alt-Arrow Character Draw.
New Functions Version 3.0 : ■ Mouse cursor control.
■ Mouse line draw.
■ Mouse edit menu control.
■ Menu function select.
■ Auto directory listing.
■ File select from directory window.
■ New color select and save.
Page 2
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
FUNCTION KEY ASSIGNMENT
■ F1 ■ Display Edit Help Screens
■ F2 ■ Center Text On Current Cursor (80 Char) Line
■ Alt-F2 ■ Left Align Next Line To Current Cursor Column
■ F3 ■ From Edit Mode : Go Load New Data File
■ F3 ■ From Name Entry : Go To File Window Select Mode
■ Alt-F3 ■ From Edit Mode : Return To Previous Text File
■ Ctrl-F3 ■ From Name Entry : Go To Select File To List/Execute
■ F4 ■ Switch Console (Toggle between Alt. & Pri. Consoles)
■ F5 ■ Shift Left Display Margin Left Eight Columns
■ Alt-F5 ■ Shift Left Display Margin Right Eight Columns
■ Ctrl-F5 ■ Switch Between 80/160 Character Line Edit Mode
■ F6 ■ Toggle Tab Expand Display On/Off (Locate ImBedded Tabs)
■ Alt-F6 ■ Toggle Ctrl/G Display On/Off (For Ansi Color Control)
■ Ctrl-F6 ■ Strip EOL Space and Replace Other Space with Tabs
■ F7 ■ Switch Keyboard To Draw Edit Mode (See Draw Key Chart)
■ Alt-F7 ■ Switch To Draw Erase Line Mode
■ Ctrl-F7 ■ Toggle Color Text Mode On/Off
■ F8 ■ Switch Between 24/25 Line Screen Edit
■ Alt-F8 ■ Go To Change Screen Colors Menu
■ Ctrl-F8 ■ Expand Mono Text File For Color
■ Shift-F8 ■ Select Color Attr. From Current Cursor Position
■ Ctrl-F9 ■ Save File as .ANX Display File
■ F10 ■ Save Edit File Changes
■ Alt-F10 ■ Save Text File As a .HLP or .CLP Help File
■ Ctrl-F10 ■ Save File As .ANS (Ansi Coded Display File)
■ Shift-F10 ■ Save File As .TYP a DOS Typable File
■ Esc ■ Exit From Current Function
■ Mouse control functions are now incorporated in EDIT.EXE
■ Right button .... = ■ Always The Esc key
■ Left button ..... = ■ In Edit Mode .... = Disabled
■ At Y/N Prompt ... = "Y" Key
■ At Any Select ... = Enter Key
■ In Line Draw .... = Toggle Double/Single Line
■ In Char Draw .... = Go Get New Character
■ Both buttons .... = ■ At Name Entry ... = F3 key
■ At File Select .. = "\" key
■ At Y/N Prompt ... = "N" key
■ From Menu Mode .. = "Q" key
■ In Edit Mode .... = Turn Mouse Draw ON
■ In Mouse Draw ... = Toggle Line/Char Draw
Page 3
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
■ Upon entering the files select screen, the cursor is on the text
entry line. Here you may enter a filename, or change directories
to get new list. Edit controls, Left, Right Arrow, Home, End, and
Back Space are active. List controls Up, Dwn Arrow, PgUp, PgDwn,
are active.
When a "\" is entered in the pathname, automatic search for sub-
directories is performed and listed. To get the file listing,just
press 'RETURN', or right mouse button.
■ Pressing the F3 function key or Both mouse buttons takes you to
the file select window. In this mode the highlighted file or sub-
directory may be selected by pressing Enter key or the Left mouse
button. Highlight may be moved using the cursor controls or mouse
movement.
To select a new directory or drive, press Esc key, or right mouse
button. In this mode, using the mouse to position cursor under a
"\" and pressing both mouse buttons, sets that directory, for sub
dir search. This gives select control of any file on your system
to the mouse and the keyboard.
■ Pressing the Ctrl and F3 Keys from the filename entry line, sets
a third select mode. In this select mode, the selected file will
be either listed, or called for execution, depending on the file
type. If the file is executable, you will be prompted for command
options. If none, just press 'ENTER'.
■ This is an example of the filename select screen :
╔═════════════════════════════════════════════════════════════════════════════╗
║ EZTEXT ■ Full Screen Text Editor ■ C(1991) By Robert Ossowski ■ ║
║ ║
║ ┌ C:\TASM\EDIT\*.* ────────────────────────────────────────────┐ ║
║ │ EZTEXT ANS ANSI ASM EDIT ASM EDITBLOK ASM │ ║
║ │ EDITCHAR ASM EDITDAT ASM EDITEQU ASM EDITFILE ASM │ ║
║ │ EDITQ ASM GETNAME ASM ASM BAT ANSI EXE │ ║
║ │ EDIT EXE EZTEXT FIL EDITHELP MEU README │ ║
║ │ README BAK │ ║
║ │ │ ║
║ │ │ ║
║ │ │ ║
║ └─ Files ─║ List=Up,Dwn,PgUp,PgDwn║ F3 = Select ║ Esc = Exit ─┘ ║
║ ║
║ Enter File Name : C:\TASM\EDIT\█.* ║
║ File name may be up to thirty-two characters long , as indicated by dots. ║
║ Name may contain Disk Identifier, A:,C:,etc. , Path Name, \DOS\, etc. , ║
║ Name (8 Chars Max), and file Extent, .DAT etc. (ie. C:\MYDIR\MYFILE.DAT) ║
║ To Go To HighLight Select, Press The F3 Function Key, or Both Mouse Buttons ║
║ ║
║ ║
║ TEXT EDITING FILE DIRECTORY ║
║ Load New File ║
╚═════════════════════════════════════════════════════════════════════════════╝
Page 4
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
MENU SYSTEM
■ Pressing the Esc key or Right mouse button while in edit mode takes
you to the editors function select menu system. While in this menu
system, pressing both mouse buttons selects (Q)uit from the current
active menu line.
■ Active entry on all menus are highlighted.
■ The Cursor at the end Indicates active menu line.
■ Highlight is moved using mouse or left and right arrow keys.
■ Highlighted selection is made by pressing left mouse button or Enter
key. Selection may also be made by pressing the key outlined (?).
■ Selecting (Q)uit from any menu except Main returns to edit mode.
■ Pressing Esc key or right mouse button returns to previous menu.
■ When on any menu pressing both mouse buttons selects (Q)uit.
■ This is the main function select menu :
■ Pressing Esc key or right mouse button here returns you to edit mode.
■ Selecting (Q)uit from this menu exits the editor.
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║█
■ (F)ile ■ Get the edit file functions menu.
■ (B)lock ■ Get the edit block functions menu.
■ (S)earch■ Get the edit search functions menu.
■ (E)dit ■ Get the edit control functions menu.
■ (M)isc ■ Get the miscellaneous edit functions menu.
■ (C)olor ■ Get the color change options menu.
■ (Q)uit ■ Exit the editor.
■ When you select (F)ile you then get this menu :
║ (S)ave ║ (L)oad ║ (P)rev. ║ (R)ead ║ (W)rite ║ (A)ppend║ (E)xpand║s(T)rip║█
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (S)ave ■ Get the edit file save option menu.
■ (L)oad ■ Go to file directory to load a new file.
■ (P)rev. ■ Leave current file and return to previous file.
■ (R)ead ■ Go to file directory to read a file into current file.
■ (W)rite ■ Go to file directory to get file to write marked block to.
■ (A)ppend■ Go to file directory to get file to add marked block to.
■ (E)xpand■ Expand current file for color text.
■ s(T)rip ■ Strip EOL spaces and fill blank areas with tabs.
Page 5
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
MENU SYSTEM
■ When you select (S)ave you get this menu :
║ (E)dit ║ (A)nsi ║ (H)elp ║ (T)ype ║ a(N)sx ║ (Q)uit ║█
║ (S)ave ║ (L)oad ║ (P)rev. ║ (R)ead ║ (W)rite ║ (E)xpand║ s(T)rip ║ (Q)uit║
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (E)dit ■ Save current active edit file.
■ (A)nsi ■ Generate and store an ANSI version of current edit file.
■ (H)elp ■ Generate and store a file for DOSHELP.EXE of current file.
■ (T)ype ■ Generate and store a DOS typable file of current edit file.
■ a(N)sx ■ Generate and store a @?? type ANSI file of current file.
■ (Q)uit ■ Return to edit mode.
■ When you select (B)lock from the main menu you get this menu :
║ (M)ark ║ (C)opy ║ (M)ove ║ (S)ave ║ (G)et ║ (D)elete║ (H)ide ║(F)ill║█
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (M)ark ■ Go to mark block in edit file mode.
■ (C)opy ■ Copy marked block to current cursor position in edit file.
■ (M)ove ■ Moved marked block to current cursor position in edit file.
■ (S)ave ■ Store marked block in save buffer for later retrieval.
■ (G)et ■ Retrieve data from save buffer to current cursor position.
■ (D)elete■ Remove marked block from edit file.
■ (H)ide ■ Un-Mark data block.
■ (F)ill ■ Fill marked block with current selected screen color.
■ When you select (S)earch from the main menu you get this menu :
║ (F)ind ║(R)eplace║ (L)ine# ║(S)et Mrk║(G)o Mark║ (Q)uit ║█
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (F)ind ■ Input text string to locate in edit file.
■(R)eplace■ Input string to locate and string to replace with.
■ (L)ine ■ Go to designated line number in edit file.
■(S)et Mrk■ Get mark number 0-9 and set to current cursor position.
■(G)o Mark■ Get mark number 0-9 and go to that location in edit file.
■ (Q)uit ■ Return to edit mode.
Page 6
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
MENU SYSTEM
■ When you select (S)et or (G)o Mark you get this menu :
║0║1║2║3║4║5║6║7║8║9║Q║█
║ (F)ind ║(R)eplace║ (L)ine# ║(S)et Mrk║(G)o Mark║ (Q)uit ║
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ When you select (E)dit from main menu you get this menu :
■ Cursor returns to edit file location on screen.
║ (P)gDwn ║ Pg(U)p ║(S)crlDwn║ s(C)rlUp║(R)estLin║(D)elLine║ (G)oLine║ (Q)uit║
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (P)gDwn ■ Go down 24/25 lines in edit file.
■ Pg(U)p ■ Go Up 24/25 lines in edit file.
■(S)crlDwn■ Scroll edit file display down one line.
■ s(C)rlUp■ Scroll edit file display up one line.
■(R)estLin■ Restore current edit line if changed.
■(D)elLine■ Remove current edit line from file.
■ (G)oLine■ Go to specified line number in edit file.
■ (Q)uit ■ Return to edit mode.
■ When you select (M)isc from main menu you get this menu :
║ (H)elp ║(I)nsert ║ (D)raw ║(L)ine25 ║(T)ab exp║(A)utoInd║ (C)trl G║(Q)uit║█
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (H)elp ■ Go Display Function Help Pages.
■(I)nsert ■ Toggle text insert mode on or off.
■ (D)raw ■ Get Draw Options Menu.
■(L)ine25 ■ Toggle 24/25 line Edit Mode.
■(Tab exp ■ Toggle tab display ON/OFF.
■(A)utoInd■ Toggle (Auto Tab Column on Carriage Return) ON/OFF.
■ (C)trl G■ Toggle Ctrl/G display ON/OFF.
■ (Q)uit ■ Return to edit mode.
■ When you select (D)raw from (M)isc menu you get this menu :
║ (S)ingle║ (D)ouble║ (C)har. ║ (E)rase ║ (Q)uit ║█
║ (H)elp ║(I)nsert ║ (D)raw ║(L)ine25 ║(T)ab exp║(A)utoInd║ (C)trl G║(Q)uit║
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (S)ingle■ Enter Single Line Mouse Draw Mode.
■ (D)ouble■ Enter Double Line Mouse Draw Mode.
■ (C)har. ■ Enter Character Mouse Draw Mode.
■ (E)rase ■ Enter Erase Line Mode.
■ (Q)uit ■ Return to Text Edit Mode.
Page 7
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
MENU SYSTEM
■ When you select (C)olor from main menu you get this menu :
║ (C)ursor║ (S)creen║(M)essage║ bloc(K) ║ (B)order║ s(T)ore ║ (Q)uit ║█
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║
■ (C)ursor■ Get color of character at current edit cursor position.
■ (S)creen■ Go set new screen display, or text entry, color.
■(M)essage■ Go set new color for menus and messages.
■ bloc(K) ■ Go set new color for edit block marking.
■ (B)order■ Increment current screen border color.
■ s(T)ore ■ Save new colors permanent.
■ (Q)uit ■ Return to edit mode.
■ When you select (S),(M), or (K), on color menu the following screen
appears with cursor on present color block in the color window :
╔═════════════════════════════════════════════════════════════════════════════╗
║ ! Select This Color ! ║
║ ║
║ ║
║ ╔═════════╣ To set New Screen Colors ╠═════════╗ ║
║ ║░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░║ ║
║ ║▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒█▒║ ║
║ ║▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓║ ║
║ ║░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░║ ║
║ ║▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒║ ║
║ ║▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓║ ║
║ ║░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░║ ║
║ ║▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒║ ║
║ ║▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓║ ║
║ ║░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░║ ║
║ ║▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒║ ║
║ ║▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓║ ║
║ ║░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░║ ║
║ ║▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒║ ║
║ ║▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓║ ║
║ ║░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░▒▒▒▓▓▓░░░║ ║
║ ╚╣ Select =Arrow Keys║ Enter = Set ║ Esc = Exit ╠╝ ║
║ ║
║ (C)ursor║ (S)creen║(M)essage║ bloc(K) ║ (B)order║ s(T)ore ║ (Q)uit ║ ║
║ (F)ile ║ (B)lock ║ (S)earch║ (E)dit ║ (M)isc ║ (C)olor ║ (Q)uit ║ ║
╚═════════════════════════════════════════════════════════════════════════════╝
Page 8
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
FUNCTION KEY ASSIGNMENT
■ F1 ■ Display Edit Help Screens
The F1 key is used for calling on help, for the current function
that you are on, from within any application included in this utilities
package. When pressed the help function will display any available help
information on the current function.
■ F2 ■ Center Text On Current Cursor (80 Char) Line
The F2 key is used to perform an eighty column centering of the
text on the current cursor line. The Cursor advances to the next line.
Holding the F2 key down, will repeatedly center next line.
■ Alt-F2 ■ Left Align Next Line To Current Cursor Column
The Alt, and F2 keys, are used to left align the next line, to the
current cursor column. Holding keys down, will repeatedly align next
text line to the same column.
■ F3 ■ From Edit Mode : Go Load New Data File
From Edit Mode, the F3 key is used to request loading a new text file
into the editor. When pressed the program will prompt for saving edit
changes if any have been detected. A "Y" entry will save current file.
You are then transferred to the file select screen, with entry position
on the filename entry line.
■ F3 ■ From Name Entry : Go To File Window Select Mode
Pressing the F3 key from the filename entry line will activate the
file select window. Highlighted file may then be loaded by pressing the
left mouse button, or the "ENTER" key.
■ Alt-F3 ■ Return To Previous Text File
The Alt & F3 keys pressed together informs the program that you
want to return to a previously loaded file. The parameters of the
current file will be retained so that you can return to the same file
location that you left using this function. You will be prompted for
saving changes in the current file if any were detected. If a previous
file had been left, it will be loaded, and the display will be at the
location in that file that you were at when you left it. If no pre-
vious file had been loaded, you will be prompted for a new file name.
You may toggle back and forth between two files using this function,
passing blocks of data from one to the other using the Alt-K S and
the Alt-K G commands.
Page 9
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
FUNCTION KEY ASSIGNMENT
■ Ctrl-F3 ■ From Name Entry : Go To Select File To List/Execute
When on the filename entry line pressing the Ctrl and F3 keys will
put you in Select List/Execute File Mode. The program will determine
if the highlighted filename can be executed,or just listed and display
this on the file select control line. Upon selection, If the file is
not executable, it will be listed on the screen with the list control
functions enabled. If the file is executable, you will be prompted for
command option entry. If you have none, then just press "ENTER". The
file will be executed as if you had run it from the DOS command line.
Upon termination of the program, you will be returned to the editor.
■ F4 ■ Switch Console (Toggle between Alt. & Pri. Consoles)
If you are a programmer, as I am, you probably have both a color
and a mono monitor on your system. Pressing the F4 key allows you to
switch back and forth between the two. This is useful for viewing one
part of a file while editing another.
■ F5 ■ Shift Left Display Margin Left Eight Columns
■ Alt-F5 ■ Shift Left Display Margin Right Eight Columns
■ Ctrl-F5 ■ Switch Between 80/160 Character Line Edit Mode
Since the editor now supports a 160 character text line, the screen
must be shifted left to view the right most eighty columns. The F5 and
Alt-F5 keys, allow for manual shifting of the display screen. Margin
shifting is also done automatically as the edit column goes beyond the
right edge of your screen.
■ F6 ■ Toggle Tab Expand Display On/Off
Pressing the F6 key will cause any tab character in the data to be
displayed as an extended ascii character instead of being expanded and
filled with spaces. Pressing F6 again, returns to normal display.
■ Alt-F6 ■ Toggle Ctrl/G Display On/Off
When creating text files for ansi generation, the Ctrl/G character
code may be used to toggle ansi create ON/OFF so that only the portion
of text from OFF mark to ON mark will be displayed on this page. This
allows turning ON/OFF, the display of these characters, while you are
editing the file.
Page 10
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
FUNCTION KEY ASSIGNMENT
■ Ctrl-F6 ■ Strip EOL Space and Replace Other Space with Tabs
Pressing the Ctrl & F6 keys, tells the program to remove any excess
fill space from the text file. All end of line space is deleted, and
imbedded spaces will be replaced by tab characters, where applicable.
An F10, Save Edit, should be performed following execution of this
function.
■ F7 ■ Switch Keyboard To Draw Edit Mode (See Draw Key Chart)
Pressing the F7 key switches the program into a draw mode that
gives you access to all of the displayable extended ascii characters.
These are listed in the help display. Pressing F7 again, toggles
between double and single line draw using the Alt-Arrow keys. Current
line draw is available in normal edit mode using these keys.
Mouse Draw Mode may now also be selected while in normal Edit Mode
by pressing both mouse buttons. Pressing both toggles this Mode ON/OFF
■ Alt-F7 ■ Switch To Draw Erase Line Mode
Pressing the Alt & F7 keys, switches the program into an erase
line mode using the Alt-Arrow keys or Mouse Draw Mode.
■ Ctrl-F7 ■ Toggle Color Text Mode On/Off
Pressing the Ctrl and F7 keys, toggles the display mode between
mono and color. The File data is not altered, so the display may look
rather strange. If the file is mono text, and you switch to color, the
text will be all different colors, and every other character will not
be displayed at all. If the file is color text, and you switch to mono
you will see all the character color attribute bytes displayed along-
side the characters. This function was added, mainly, to allow loading
color text files that the editor didn't sense when read in.
■ F8 ■ Switch Between 24/25 Line Page Edit
Pressing the F8 key, toggles the display between twenty-four and
twenty-five line text display. This also controls the ANSI file gen-
eration for 24 or 25 line display. While in 25 line mode, the control
line is not displayed except for special messages like Color Text, or
Draw Mode.
Page 11
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
FUNCTION KEY ASSIGNMENT
■ Alt-F8 ■ Go To Change Screen Colors Menu (See Page 7)
Pressing the Alt and F8 keys, takes you to the change colors menu.
New screen, menu, text block, and border colors may be selected and
stored, if you want the change permanent.
■ For color text files, new screen color select does not affect text
color. When you enter text, or use the Ctrl/Arrow keys, the text will
be in the selected color.
■ Ctrl-F8 ■ Expand Mono Text File For Color
Pressing the Ctrl & F8 keys will cause the current data file to
be expanded to contain color attributes for each character. You can
then re-color the text as you wish using the Alt-F8 (Change Color)
function, and Ctrl-Arrow keys to re-color.
■ Shift-F8 ■ Select Color Attribute From Current Cursor Position
Pressing The Shift & F8 keys when editing a color text file, will
select the color attributes at the current cursor position, to be app-
lied to any text entered, or to any text passed, using the Ctrl-Arrow
keys.
■ Ctrl-F9 ■ Save File as .ANX
Pressing the Ctrl & F9 keys together when editing a color text file
will generate all @X?? color codes necessary to display color text with
programs that use this code for ANSI display. This will be stored in a
file with the name of your edited file with an extent of .ANX. The text
file remains intact. Only color codes are presently supported.
■ F10 ■ Save Edit File Changes
Pressing the F10 key at any time during an edit session will cause
the current data file to be saved, and original file to be renamed to
be the backup file. You remain in the same position of current edit
session.
Page 12
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
FUNCTION KEY ASSIGNMENT
■ Alt-F10 ■ Save Text File As a .HLP or .CLP Help File
Pressing the Alt & F10 keys at any time will cause the current
data file to be saved as a help type file with an extent .HLP for mono
or .CLP for color text. These files are accessible by the pop-up help
routine supplied in my utilities package.
■ Ctrl-F10 ■ Save File As .ANS an Ansi Display File
Pressing The Ctrl & F10 keys at any time, will convert the text
file to an ANSI coded file and store with an extent of .ANS. The text
file remains intact. Clear Screen & Home Cursor (Ctrl-L), and Clear To
End of Line (Ctrl-K), functions may be imbedded in the text file using
the Draw-Edit Mode. You can Toggle ANSI Generation On & Off by putting
a (Ctrl-G) in text file. This allows possible animated presentations.
A Ctrl-G, followed by a number (0-9), is recognized by my color text
display routines as a display speed change. You may create mono or
color DOS Typable Files. Mono files do not need the ANSI.SYS driver if
stored using (Shift-F10). They are stored with an extent of ".TYP".
■ Ctrl-F10 ■ Save File As .ANS (Ansi Coded Display File)
The sign on Message is an example of an animated ANSI generation.
The file, EZTEXT.FIL, is the edited color file, used to create the
file, EXTEXT.ANS. This file is displayed by my ANSI display routine,
ANSI.EXE. Use ANSI.EXE to display any ANSI file with option /1-9 for
simulated baud rates, 1=600, 2=1200, etc. Or option /c to repeatedly
display the file, and changes rates when you press a number key. This
will give you an idea of what display will look like when transmitted
to a remote system. Or if you have ANSI.SYS loaded, you can just tell
DOS to type EZTEXT.ANS. Observe the EZTEXT.FIL using EDIT.EXE.
■ Shift-F10 ■ Save File As .TYP (a DOS Typable File)
Pressing the Shift & F10 keys while editing mono text file, will
remove carriage returns from any lines that extend to screen column
eighty, and store with extent of .TYP for a DOS Typable file. The text
file remains intact.
Page 13
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
CURSOR MOVEMENT COMMANDS
CHARACTER, Go Left One ............... = Alt-S or Left Arrow
CHARACTER, Go Right One .............. = Alt-D or Right Arrow
CHARACTER, Insert/OverWrite Toggle ... = Insert
CHARACTER, Set New Color ............. = Ctrl-Left or Ctrl-Right Arrow
WORD, Go Left One .................... = Ctrl-Left Arrow
WORD, Go Right One ................... = Ctrl-Right Arrow
LINE, Go Up One ...................... = Alt-E or Up Arrow
LINE, Go Down One .................... = Alt-X or Down Arrow
LINE, Go To Beginning of ............. = Home
LINE, Go To End of ................... = End
LINE, Restore Current or Just Deleted = Alt-Q L
LINE, Go To Marked (0-9) ............. = Alt-Q(n)
LINE, Mark Place (0-9) ............... = Alt-K(n)
LINE, Scroll Screen Up One ........... = Alt-W
LINE, Scroll Screen Down One ......... = Alt-Z
LINE, Go To File Line Number ......... = Alt-L (number)
LINE, Auto Indent Toggle ............. = Shift-Tab
LINE, DRAW Up/Down ................... = Alt-Up/Down Arrow
LINE, DRAW Left/Right ................ = Alt-Left/Right Arrow
LINE, Set Place Marker ............... = Alt-K (0-9)
LINE, Find & Go To Place Marker ...... = Alt-Q (0-9)
PAGE, Go Up One Screen ............... = Alt-R or Page Up
PAGE, Go Down One Screen ............. = Alt-C or Page Down
PAGE, Go To First Screen Position .... = Ctrl-Home
PAGE, Go To Last Screen Character .... = Ctrl-End
FILE, Go Up One 32K Byte Page ........ = Ctrl-Page Up
FILE, Go To End of Next 32K Page ..... = Ctrl-Page Down
INSERT & DELETE COMMANDS
TAB, Insert One Eight Character ...... = Alt-I or Tab
LINE, Insert One ..................... = Alt-N or Enter
BLOCK, Go Read Text File ............. = Alt-K R
CHARACTER, Delete at Cursor One ...... = Delete
CHARACTER, Delete Left of Cursor One . = Alt-H or BackSpace
WORD, Delete Right of Cursor One ..... = Alt-U
LINE, Delete Current Cursor .......... = Alt-Y
LINE, Delete To End of Current Cursor. = Alt-Q Y
BLOCK, Delete Marked Text ............ = Alt-K Y
Page 14
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
TEXT FIND AND REPLACE
The Alt-Q Command Controls Handle Location and Replacement of Text
within current edit file. For the Alt-Q F, A, and R Functions, you
will be prompted for a text string input to match for locating. Then
for the search options input. If you selected the Alt-Q R Function,
Replace Text String, You will then be prompted for the replacement
text string. These text strings, and options will be retained, for
use again, when you select one of these Functions.
TEXT Find String ........... = Alt-Q F
TEXT Find & Replace String . = AlT-Q A
TEXT Repeat Last Find ...... = Alt-Q R
TEXT SEARCH OPTIONS
Search Whole File ...... = G : If you enter a G on the option line,
the search is applied to the complete file, from beginning
to end. If No G option is entered, the search begins at the
current cursor position.
Search Backwards ....... = B : If you enter a B on the option line,
the search starts at current cursor position, and moves back
towards the beginning of the file.
Local Search In Block .. = L : If you enter an L on the option line,
the search is applied, only to the currently marked block of
text.
Search Number of Times . = (n) : A number entered on the option line
will initiate repeated searches that number of times. At the
end of repeats, the cursor will be located at the last text
find position in the file. The number entry may not exceed
65535.
Replace Without Asking . = N : The Alt-Q R Function normally locates
the text string, displays that file location on screen, with
located text string highlighted, and prompts for a Y/N entry
asking if you want this string replaced. If you enter an N
on the option line, this prompt is by-passed.
Ignore Upper/Lower Case = U : For the normal text string search the
letters are matched letter for letter (ie. a "U" equals "U",
a "u" does not equal "U"). If you enter a U on the option
line, upper and lower case is ignored, and a "u" equals "U",
a "U" equals "U", the text string will be matched letter for
letter ignoring Case.
Page 15
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
BLOCK CONTROL COMMANDS
SET Block BEGINNING . = Alt-K B : These two commands set the start
SET Block END ....... = Alt-K K : and end block parameters. The Text
between these two markers will be highlighted on the display
screen. These markers may also be set using the Mouse or the
Up/Down arrow keys, by selecting Mark Block, from the block
menu.
COPY Block .......... = Alt-K C : Inserts a copy of the marked text
in the file at the current cursor position.
MOVE Block .......... = Alt-K V : Saves the marked text in a buffer,
deletes marked text from file, then inserts the text back
into the file at the current cursor position.
DELETE Block ........ = Alt-K Y : Removes marked text from the file.
SAVE Block in Buffer. = Alt-K S : Stores currently marked text in a
buffer for later retrieval.
GET Block from Buffer = Alt-K G : Retrieves previously saved text
from the buffer and inserts it into the file at the current
cursor position.
READ File From Disk . = Alt-K R : Reads a text file and inserts the
text into the current edit file at current cursor position.
WRITE Block File .... = Alt-K W : Writes the currently marked text
out to a specified file. This text replaces anything that
may have been in an existing file. If the specified file
does not exist, one will be created.
APPEND Block to File = Alt-K A : Writes the currently marked text
out to a specified file. This text is added to anything
that was previously in the file.
COLOR FILL Block .... = Alt-K F : For color text only. The marked
texts color attribute will be changed to the current color
attribute.
PRINT Block ......... = Alt-K P : Output the marked text to the
printer port LPT1.
HIDE Block .......... = Alt-K H : Remove any text block marks.
Page 16
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
COLOR TEXT MODE
Editing Color Text : With the advent of the current EGA/VGA monitors,
colored text display has become very useful. This editor allows you
to edit, and re-color text files. Each file loaded is checked for
non-text null characters. If detected, you will be asked if this is
a color text file. If you enter a "N" at this prompt, the file is
assumed to be a special, non-text file, in which you wish to change
any text found. Using a combination of color, text, and draw char-
acters, you can create some very pleasing displays. See the sample
color text file, EZTEXT.FIL, for an example of color display gener-
ation.
Color Text may be converted into an ANSI coded displayable file using
the Ctrl-F10 function. This file is given the same name as the edit
file, with a name extension of .ANS. If you load the DOS ANSI.SYS
driver, this file can be displayed using the DOS "TYPE" command, or
you can use the supplied routine, ANSI.EXE, for display. ANSI.EXE
has the optional continuous display, or display speed functions.
See Next Page.
Color Text Control Functions :
■ Ctrl-F7 ■ Toggle Color Text Mode On/Off (See Page 10)
■ Alt-F8 ■ Go To Change Screen Colors Menu (See Pages 7 & 11)
■ Ctrl-F8 ■ Expand Mono Text File For Color (See Page 11)
■ Shift-F8 ■ Select Color Attr. From Current Cursor Position (Page 11)
■ Alt-F10 ■ Save Text File As a .HLP or .CLP Help File (See Page 12)
■ Ctrl-F10 ■ Save File As .ANS (Ansi Coded Display File) (See Page 12)
■ Ctrl-Arrow■ Using the Ctrl-Arrow keys to pass over text, will change
the color of that text to the currently selected screen
color attribute.
■ Alt-K F ■ The block marked texts color attribute will be changed
to the current selected screen color attribute.
Page 17
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
COLOR TEXT MODE
■ ANSI.EXE ■ This Routine displays ANSI coded text files. It will
recognize and execute all standard ANSI control codes. Additional
options of continuous display, and display speed are also supported.
These options may be entered as command options (ie. ANSI ROSOFT.ANS
/3c), for continuous display at rate number three. It will also re-
cognizes a Ctrl-G character in the file as a set speed command. This
character must be followed by a number (0-9). If you just enter the
command "ANSI", the routine gives you the following prompt screen :
To Display An ANSI Coded File.
Enter FileName ? ...............................
Entry Format : drive:\yourdir\filename.extent /speed
For /speed Option : (0 = System Speed), (1-9 = Bauds 600-1M),
(c = ReDisplay Till Other Than 0-9 Pressed.
Press -Esc- To Exit !
■ COLRTEXT.EXE ■ This routine has the same functions as ANSI.EXE,but
it displays color text files directly. The prompt screen is almost
the same as ANSI.EXE. It will also display any text, screen dump,
file that has the color attribute bytes included with text.
Page 18
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
DRAW MODES
The Line Draw Mode is Always Available, using the Alt-Arrow keys, or
Alternate Keys For Line Draw : These were added because on an XT
system, the Alt-Arrow Functions Don't Exist.
Alt-Up Arrow = Alt-T
Alt-Down Arrow = Alt-V
Alt-Left Arrow = Alt-F
Alt-Right Arrow = Alt-G
Function Key F7, Switches the Keyboard To Draw Edit Mode. See the Draw
Key Chart using Function F1 (Display Help) for Keyboard definitions.
The Chart is not included here, because some of the characters are
not printable. In this mode, all the Non-Control Key Ascii Codes
have 80H added to them, to produce all the extended ascii codes, for
display, and inclusion in your text file. Selecting any draw option
from the menu system, also sets the Keyboard Draw Mode on. To turn
Keyboard Draw off, press the Esc key.
All draw functions, except keyboard entry, fills each line to maximum
character length with space. When drawing in mono text, be careful
to select proper line length (80 or 160), using function Ctrl-F5.
Color text, will always be automatically set to 80. If you wish to
remove excess space fill from the file after drawing, use the Ctrl-
F6 function.
Function Keys Alt & F7, Switch To Draw Erase Line Mode. In this mode,
the line draw keys remove line characters from the edit file.
Pressing keys Ctrl & D, toggles between Line and Character Draw. The
character draw mode uses a single selected character for all of the
draw key functions. You may select any of the 256 characters that
DOS supports from the character select window.
Mouse Draw Control : When Mouse Draw is On the mouse motion duplicates
Alt-Arrow Keys.
■ Both buttons ■ From Edit Mode ... = Turn Mouse Draw ON
■ In Mouse Draw .... = Toggle Line/Char Draw
■ Left button ■ In Mouse Line Draw = Toggle Double/Single Line
■ In Mouse Char Draw = Go Get New Character
■ Right button ■ Exits Mouse Draw Mode
Page 19
■ EDIT.EXE ■ PROGRAMMERS TEXT EDITOR ■
Should a problem arise:
Because of the complexity of handling both mono and color text by
the same functions, you may find a way to end up with a messed up
display screen. If this occurs, first do a Ctrl-Page Up Function.
This should correct the screen display. But if the display is still
messed up, exit the editor not saving changes . At any rate, you
will still have a backup file that was the file that you originally
read in to edit. This file will have the same name, but it's extent
will be ".BAK".
If you have any questions that cannot be resolved any other way,
I can be contacted at :
RO-SOFT, c/o Robert Ossowski
7165 Kent Dr.
Baker, La. 70714
Ph. (504) 775-4116